package cc.vv.baselibrary.db.daTable

import cc.vv.baselibrary.bean.base.BaseEntityObj
import com.j256.ormlite.field.DatabaseField
import com.j256.ormlite.table.DatabaseTable

/**
 * 群组成员信息对象
 * Created by sun.li on 2018/10/11.
 * @author sun.li
 */
@DatabaseTable(tableName = "GroupMembersInfoObj")
class GroupMembersInfoObj : BaseEntityObj() {

    /** 数据库ID,此处为组合ID（id+yxGroupId） */
    @DatabaseField(columnName = "tableID", id = true)
    var tableID: String? = ""

    /** 用户ID*/
    @DatabaseField(columnName = "id")
    var id: String? = ""

    /** 用户头像*/
    @DatabaseField(columnName = "avatar")
    var avatar: String? = ""

    /** 电话*/
    @DatabaseField(columnName = "mobile")
    var mobile: String? = ""

    @DatabaseField(columnName = "desc")
    var desc: String? = ""

    /** 姓名*/
    @DatabaseField(columnName = "name")
    var name: String? = ""

    /** 用户身份 */
    @DatabaseField(columnName = "type")
    var type: String? = ""

    /** 班级id*/
    @DatabaseField(columnName = "classId")
    var classId: String? = ""

    /** 用户群昵称*/
    @DatabaseField(columnName = "nickname")
    var nickname: String? = ""

    /** 班级编号*/
    @DatabaseField(columnName = "groupId")
    var groupId: String? = ""

    /** 云信群组编号*/
    @DatabaseField(columnName = "yxGroupId")
    var yxGroupId: String? = ""


    /**学校Id */
    @DatabaseField(columnName = "kindergartenId")
    var kindergartenId = ""

    /**学校名称 */
    @DatabaseField(columnName = "kindergartenName")
    var kindergartenName = ""

}